package com.highspeed.bdk.gateway.socket.analyze.message.gui.resolver;

import com.highspeed.bdk.gateway.Util;
import com.highspeed.bdk.gateway.socket.analyze.message.gui.base.MessageResolver;

import java.util.Map;

public class AllLogicLinksResolver0x013 extends MessageResolver {

    @Override
    protected Map doResolveBody(byte[] response) {
        int linkNum = Util.getInt(response, getOffset());
        offset4();
        LogicLinkResolver logicLinkResolver = new LogicLinkResolver();
        logicLinkResolver.setContainer(getContainer());
        for (int i = 0; i < linkNum; i++) {
            logicLinkResolver.doResolveBody(response);

        }
        return getContainer();
    }

}
